﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using laba2.Entity;

namespace laba2.Configurations
{
    public class RatingByDateConfiguration : EntityTypeConfiguration<RatingByDate>
    {
        public RatingByDateConfiguration()
        {
            Property(r => r.Delay).IsRequired();
            Property(r => r.Rating).IsRequired();
        }
    }
}
